{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "world\n",
      "['anna', 'john']\n",
      "None\n"
     ]
    }
   ],
   "source": [
    "from rocksdict import Rdict\n",
    "\n",
    "db = Rdict(\"test.db\")\n",
    "# cfs = Rdict.list_cf(\"test\")\n",
    "# print(cfs)\n",
    "db['hello'] = 'world'\n",
    "db['name'] = ['anna', 'john']\n",
    "\n",
    "\n",
    "print(db.get('hello'))\n",
    "print(db.get('name'))\n",
    "print(db.get('name2'))\n",
    "\n",
    "db.close()\n"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "base",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.12.8"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
